<?php


namespace App\Models\Admin;


use App\Models\Api\Files;
use Illuminate\Database\Eloquent\Model;

class Admin extends Model
{
    protected $table = 'admin';
    protected $fillable = ['id','name','phone','password','image'];
    public function image(){
        return $this->belongsTo(Files::class,'image','id');
    }
}
